
{$header}<div id="main" class="main" >
    <div class="content">
  <h3 class="heading">向采购单追加产品 [ <a href="__APP__/Buy">返回列表</a> ]</h3>
<div id="result" class="result none"></div>
<form class="form-horizontal well" method='post' id="form1" name="form1" action="__URL__/insert/">
<table cellpadding=3 cellspacing=3 >
<tr>
	<td class="tRight" >采购单号：</td>
	<td class="tLeft" >
		<input type="hidden" name="buy_id" value="{$_GET.id}">
		<input type="hidden" name="buy_no" value="{$_GET.id|getModelName='Buy','buy_no'}">
        <input type="hidden" name="jumpUrl" value="<empty name='_GET.id'>__URL__<else/>__APP__/Buy/edit/id/{$_GET.id}</empty> ">
            {$_GET.id|getModelName='Buy','buy_no'} 
            
        </td>
</tr>
<tr>
	<td class="tRight" >经办人：</td>
	<td class="tLeft" >
            {$_GET.id|getModelName='Buy','user_id'|getModelName='User'}&nbsp;&nbsp; &nbsp;&nbsp;创建时间：{$_GET.id|getModelName='Buy','create_time'|toDate}
        </td>
</tr>
<tr>
    <td class="tRight" >供应商：</td>
    <td class="tLeft" ><input type="hidden" name="supplier_id" value="{$_GET.id|getModelName='Buy','supplier_id'}">
        {$_GET.id|getModelName='Buy','supplier_id'|getModelName='Supplier'}
        </td>
</tr>
<tr>
	<td class="tRight" >备注:</td>
	<td class="input-xxlarge">
            {$_GET.id|getModelName='Buy','remark'}
        </td>
</tr>
<!--
<tr> <td colspan="2" class="alert-info">注意：按条码或拼音选择产品，仅可添加一个产品，不可添加两个产品</td> </tr>
<tr>
    <td class="tRight" width="150px">按<b>条码</b>查询产品：</td>
	<td class="tLeft" >
            <input id="ptm" name="ptm_id" style="width:700px">
        </td>
</tr>
<tr>
	<td class="tRight" >按<b>拼音首字母</b>查询产品：</td>
	<td class="tLeft" >
            <input id="ppy" name="ppy_id" style="width:700px">
        </td>
</tr>
-->
<tr>
    <td class="tRight" >按<b>汉字</b>查询产品：</td>
    <td class="tLeft" >
            <div class="input-append">
                <input id="q" name="q" class="input-xlarge search-query" placeholder="搜索"><input id="hz" name="hz_id" type="hidden"></input>
                <button class="btn" type="button" onclick="filter_single()"><i class="icon-search"></i>搜索</button>
                <span class="help-inline alert">支持空格查询,如:名称 + 度数</span>
            </div>
        </td>
</tr>
<!--
<tr>
	<td class="tRight" >生产批号：</td>
	<td class="tLeft" >
            <input type="text" value="" name="lot">
        </td>
</tr>
<load href="__PUBLIC__/Js/My97DatePicker/WdatePicker.js" />
<tr>
	<td class="tRight" >截止有效期：</td>
	<td class="tLeft" >
            <input type="text" value="" name="exp" onClick="WdatePicker()">
        </td>
</tr>
-->
<tr>
	<td class="tRight" >数量：</td>
	<td class="tLeft" >
            <input type="text" value="" name="number">
        </td>
</tr>
<tr>
	<td class="tRight" >进价：</td>
	<td class="tLeft" >
            <input type="text" name="enter_price" value="">元
        </td>
</tr>

<tr>
	<td></td>
	<td class="center" width="300">
	<button type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i> 保存</button>
	<a class="btn btn-primary offset1" href="__URL__"><i class="icon-arrow-left icon-white"></i>返回</a>
	</td>
</tr>
</table>
</form>
</div>
</div>

<include file="Public:footer"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Js/easyui/themes/default/easyui.css">
<script type="text/javascript" src="__PUBLIC__/Js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/filter-product.js"></script>
